package com.trust.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author ccc
 * @since 2023-11-14 21:04:08
 */
@Data
@TableName("storehouse")
public class Storehouse {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("通讯地址")
    private String address;

    @ApiModelProperty("联系方式")
    private String phone;

    @ApiModelProperty("联系人")
    private String contact;

    @ApiModelProperty("是否启用")
    private Integer enabled;

    @ApiModelProperty("是否默认")
    private Integer isDefault;

    @ApiModelProperty("仓储企业码")
    private String enterpriseCode;

    @ApiModelProperty("仓储企业名称")
    private String enterpriseName;

    @ApiModelProperty("储存条件")
    private String environment;

    @ApiModelProperty("省")
    private Integer province;

    @ApiModelProperty("市")
    private Integer city;

    @ApiModelProperty("区")
    private Integer district;

    @ApiModelProperty("纬度")
    private BigDecimal latitude;

    @ApiModelProperty("经度")
    private BigDecimal longitude;

    @ApiModelProperty("储存模式")
    private Integer storageMode;

    @ApiModelProperty("仓库简介")
    private String introduction;

    @ApiModelProperty("仓库名称")
    private String name;

    @ApiModelProperty("仓库编号")
    private String code;

    @ApiModelProperty("仓库图片")
    private String pic;
}